package cn.exempale.mscapplication.dto;

import androidx.annotation.NonNull;

public class PrepareUploadDTO extends BaseDTO {

    @NonNull
    private String file_len; // 文件大小（字节 160044）必填
    @NonNull
    private String file_name; // 文件名称（带后缀 ***.wav） 必填
    @NonNull
    private int slice_num; // 文件分片数量（建议分片大小10M 不分片 1）必填

    private String lfasr_type; // 转写类型，默认 0 (格式: wav,flac,opus,mp3,m4a)
    private String has_participle; // 结果是否包含分词
    private String max_alternatives; // 最大候选词个数
    private String speaker_number; // 发音人个数
    private String has_seperate; // 结果是否包含发您人分离信息
    private String role_type; // 1:通用角色分离，2：电话信道角色分离，需要has_seperate
    private String language; // cn:中文默认，en：英文
    private String pd; // 领域

    public PrepareUploadDTO() {
        this.lfasr_type = "0";
        this.has_participle = "false";
        this.max_alternatives = "0";
        this.speaker_number = "2";
        this.has_seperate = "true";
        this.role_type = "2";
        this.language = "cn";
    }

    @NonNull
    public String getFile_len() {
        return file_len;
    }

    public void setFile_len(@NonNull String file_len) {
        this.file_len = file_len;
    }

    @NonNull
    public String getFile_name() {
        return file_name;
    }

    public void setFile_name(@NonNull String file_name) {
        this.file_name = file_name;
    }

    public int getSlice_num() {
        return slice_num;
    }

    public void setSlice_num(int slice_num) {
        this.slice_num = slice_num;
    }

    public String getLfasr_type() {
        return lfasr_type;
    }

    public void setLfasr_type(String lfasr_type) {
        this.lfasr_type = lfasr_type;
    }

    public String getHas_participle() {
        return has_participle;
    }

    public void setHas_participle(String has_participle) {
        this.has_participle = has_participle;
    }

    public String getMax_alternatives() {
        return max_alternatives;
    }

    public void setMax_alternatives(String max_alternatives) {
        this.max_alternatives = max_alternatives;
    }

    public String getSpeaker_number() {
        return speaker_number;
    }

    public void setSpeaker_number(String speaker_number) {
        this.speaker_number = speaker_number;
    }

    public String getHas_seperate() {
        return has_seperate;
    }

    public void setHas_seperate(String has_seperate) {
        this.has_seperate = has_seperate;
    }

    public String getRole_type() {
        return role_type;
    }

    public void setRole_type(String role_type) {
        this.role_type = role_type;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getPd() {
        return pd;
    }

    public void setPd(String pd) {
        this.pd = pd;
    }
}
